package com.swiot.biz.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.swiot.common.annotation.Excel;
import com.swiot.common.core.domain.BaseEntity;

/**
 * 模板告警对象 biz_template_alarm
 * 
 * @author kingdom
 * @date 2025-01-10
 */
public class TemplateAlarm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 告警描述 */
    @Excel(name = "告警描述")
    private String description;

    /** 模板ID */
    @Excel(name = "模板ID")
    private String templateId;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 报表日期 */
    @Excel(name = "报表日期")
    private String reportDate;

    /** 系统表名称 */
    @Excel(name = "系统表名称")
    private String tableName;

    /** 板块信息 */
    @Excel(name = "板块信息")
    private String segmentName;

    /**
     * 板块ID
     */
    private Long segmentId;

    /** 公司ID */
    @Excel(name = "公司ID")
    private Long deptId;
    /** 公司名称 */
    private String deptName;

    /** 字段行列 */
    private String fieldRowCol;

    /** 数据行列 */
    private String dataRowCol;

    /** 告警行列 */
    private String alarmRowCol;

    /** 字段行键 */
    private String fieldRowKey;

    /** 告警行键 */
    private String alarmRowKey;

    /** 告警类型 */
    @Excel(name = "告警类型")
    private String alarmType;

    /** 告警级别 */
    @Excel(name = "告警级别")
    private String alarmLevel;

    /** 告警状态 */
    @Excel(name = "告警状态")
    private String alarmStatus;

    /** 告警规则 */
    @Excel(name = "告警规则")
    private String alarmRule;

    /** 告警阈值 */
    @Excel(name = "告警阈值")
    private String alarmThreshold;

    /** 告警内容 */
    @Excel(name = "告警内容")
    private String alarmContent;

    /** 模板内容 */
    private String templateContent;

    /** 模板内容视图 */
    private String templateContentView;

    /** 发布状态 */
    @Excel(name = "发布状态")
    private Long templatePublishStatus;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String processStatus;

    /** 处理人 */
    @Excel(name = "处理人")
    private String processBy;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date processTime;

    /** 处理备注 */
    @Excel(name = "处理备注")
    private String processRemark;

    /** 删除标志 */
    private String delFlag;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedTime;

    /** 创建人用户ID */
    private String createdById;

    /** 最后更新人用户ID */
    private String updatedById;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 最后更新人 */
    @Excel(name = "最后更新人")
    private String updatedBy;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setTemplateId(String templateId) 
    {
        this.templateId = templateId;
    }

    public String getTemplateId() 
    {
        return templateId;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setReportDate(String reportDate) 
    {
        this.reportDate = reportDate;
    }

    public String getReportDate() 
    {
        return reportDate;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setSegmentName(String segmentName) 
    {
        this.segmentName = segmentName;
    }

    public String getSegmentName() 
    {
        return segmentName;
    }
    public void setSegmentId(Long segmentId) 
    {
        this.segmentId = segmentId;
    }

    public Long getSegmentId() 
    {
        return segmentId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setFieldRowCol(String fieldRowCol) 
    {
        this.fieldRowCol = fieldRowCol;
    }

    public String getFieldRowCol() 
    {
        return fieldRowCol;
    }
    public void setDataRowCol(String dataRowCol) 
    {
        this.dataRowCol = dataRowCol;
    }

    public String getDataRowCol() 
    {
        return dataRowCol;
    }
    public void setAlarmRowCol(String alarmRowCol) 
    {
        this.alarmRowCol = alarmRowCol;
    }

    public String getAlarmRowCol() 
    {
        return alarmRowCol;
    }
    public void setFieldRowKey(String fieldRowKey) 
    {
        this.fieldRowKey = fieldRowKey;
    }

    public String getFieldRowKey() 
    {
        return fieldRowKey;
    }
    public void setAlarmRowKey(String alarmRowKey) 
    {
        this.alarmRowKey = alarmRowKey;
    }

    public String getAlarmRowKey() 
    {
        return alarmRowKey;
    }

    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setAlarmLevel(String alarmLevel) 
    {
        this.alarmLevel = alarmLevel;
    }

    public String getAlarmLevel() 
    {
        return alarmLevel;
    }
    public void setAlarmStatus(String alarmStatus) 
    {
        this.alarmStatus = alarmStatus;
    }

    public String getAlarmStatus() 
    {
        return alarmStatus;
    }
    public void setAlarmRule(String alarmRule) 
    {
        this.alarmRule = alarmRule;
    }

    public String getAlarmRule() 
    {
        return alarmRule;
    }
    public void setAlarmThreshold(String alarmThreshold) 
    {
        this.alarmThreshold = alarmThreshold;
    }

    public String getAlarmThreshold() 
    {
        return alarmThreshold;
    }
    public void setAlarmContent(String alarmContent) 
    {
        this.alarmContent = alarmContent;
    }

    public String getAlarmContent() 
    {
        return alarmContent;
    }
    public void setTemplateContentView(String templateContentView) 
    {
        this.templateContentView = templateContentView;
    }

    public String getTemplateContentView() 
    {
        return templateContentView;
    }
    public void setTemplateContent(String templateContent) 
    {
        this.templateContent = templateContent;
    }

    public String getTemplateContent() 
    {
        return templateContent;
    }
    public void setTemplatePublishStatus(Long templatePublishStatus) 
    {
        this.templatePublishStatus = templatePublishStatus;
    }

    public Long getTemplatePublishStatus() 
    {
        return templatePublishStatus;
    }

    public void setProcessStatus(String processStatus) 
    {
        this.processStatus = processStatus;
    }

    public String getProcessStatus() 
    {
        return processStatus;
    }

    public void setProcessBy(String processBy) 
    {
        this.processBy = processBy;
    }

    public String getProcessBy() 
    {
        return processBy;
    }

    public void setProcessTime(Date processTime) 
    {
        this.processTime = processTime;
    }

    public Date getProcessTime() 
    {
        return processTime;
    }

    public void setProcessRemark(String processRemark) 
    {
        this.processRemark = processRemark;
    }

    public String getProcessRemark() 
    {
        return processRemark;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    public void setDeletedTime(Date deletedTime) 
    {
        this.deletedTime = deletedTime;
    }

    public Date getDeletedTime() 
    {
        return deletedTime;
    }

    public void setCreatedById(String createdById) 
    {
        this.createdById = createdById;
    }

    public String getCreatedById() 
    {
        return createdById;
    }

    public void setUpdatedById(String updatedById) 
    {
        this.updatedById = updatedById;
    }

    public String getUpdatedById() 
    {
        return updatedById;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("description", getDescription())
            .append("templateId", getTemplateId())
            .append("templateName", getTemplateName())
            .append("reportDate", getReportDate())
            .append("tableName", getTableName())
            .append("segmentName", getSegmentName())
            .append("segmentId", getSegmentId())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("fieldRowCol", getFieldRowCol())
            .append("dataRowCol", getDataRowCol())
            .append("alarmRowCol", getAlarmRowCol())
            .append("fieldRowKey", getFieldRowKey())
            .append("alarmRowKey", getAlarmRowKey())
            .append("alarmType", getAlarmType())
            .append("alarmLevel", getAlarmLevel())
            .append("alarmStatus", getAlarmStatus())
            .append("alarmRule", getAlarmRule())
            .append("alarmThreshold", getAlarmThreshold())
            .append("alarmContent", getAlarmContent())
            .append("templateContentView", getTemplateContentView())
            .append("templateContent", getTemplateContent())
            .append("templatePublishStatus", getTemplatePublishStatus())
            .append("processStatus", getProcessStatus())
            .append("processBy", getProcessBy())
            .append("processTime", getProcessTime())
            .append("processRemark", getProcessRemark())
            .append("delFlag", getDelFlag())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .append("deletedTime", getDeletedTime())
            .append("createdById", getCreatedById())
            .append("updatedById", getUpdatedById())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .toString();
    }
}
